/**
 * Created by 张乐平 on 8/2 0002.
 */

jQuery(function () {
    function getTree() {
        // Some logic to retrieve, or generate tree structure
        return [
            {
                text: "用户管理",
                href:"/system/authorization/users/query"
            },
            {
                text: "角色管理",
                href:"/system/authorization/roles/query"
            },
            {
                text: "授权管理",
                href:"/system/authorization/perms/query"
            }
        ];
    }

    $('#tree').treeview({enableLinks:true,data: getTree()});
});
